Optimal. Leaf size=119 \[ -\frac {(4 A b-5 a B) x^3}{4 b^2 \sqrt {a+b x^2}}+\frac {B x^5}{4 b \sqrt {a+b x^2}}+\frac {3 (4 A b-5 a B) x \sqrt {a+b x^2}}{8 b^3}-\frac {3 a (4 A b-5 a B) \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{8 b^{7/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 119, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.227, Rules used = {470, 294, 327,
223, 212} \begin {gather*} -\frac {3 a (4 A b-5 a B) \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{8 b^{7/2}}+\frac {3 x \sqrt {a+b x^2} (4 A b-5 a B)}{8 b^3}-\frac {x^3 (4 A b-5 a B)}{4 b^2 \sqrt {a+b x^2}}+\frac {B x^5}{4 b \sqrt {a+b x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 223
Rule 294
Rule 327
Rule 470
Rubi steps
\begin {align*} \int \frac {x^4 \left (A+B x^2\right )}{\left (a+b x^2\right )^{3/2}} \, dx &=\frac {B x^5}{4 b \sqrt {a+b x^2}}-\frac {(-4 A b+5 a B) \int \frac {x^4}{\left (a+b x^2\right )^{3/2}} \, dx}{4 b}\\ &=-\frac {(4 A b-5 a B) x^3}{4 b^2 \sqrt {a+b x^2}}+\frac {B x^5}{4 b \sqrt {a+b x^2}}+\frac {(3 (4 A b-5 a B)) \int \frac {x^2}{\sqrt {a+b x^2}} \, dx}{4 b^2}\\ &=-\frac {(4 A b-5 a B) x^3}{4 b^2 \sqrt {a+b x^2}}+\frac {B x^5}{4 b \sqrt {a+b x^2}}+\frac {3 (4 A b-5 a B) x \sqrt {a+b x^2}}{8 b^3}-\frac {(3 a (4 A b-5 a B)) \int \frac {1}{\sqrt {a+b x^2}} \, dx}{8 b^3}\\ &=-\frac {(4 A b-5 a B) x^3}{4 b^2 \sqrt {a+b x^2}}+\frac {B x^5}{4 b \sqrt {a+b x^2}}+\frac {3 (4 A b-5 a B) x \sqrt {a+b x^2}}{8 b^3}-\frac {(3 a (4 A b-5 a B)) \text {Subst}\left (\int \frac {1}{1-b x^2} \, dx,x,\frac {x}{\sqrt {a+b x^2}}\right )}{8 b^3}\\ &=-\frac {(4 A b-5 a B) x^3}{4 b^2 \sqrt {a+b x^2}}+\frac {B x^5}{4 b \sqrt {a+b x^2}}+\frac {3 (4 A b-5 a B) x \sqrt {a+b x^2}}{8 b^3}-\frac {3 a (4 A b-5 a B) \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a+b x^2}}\right )}{8 b^{7/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.17, size = 99, normalized size = 0.83 \begin {gather*} \frac {12 a A b x-15 a^2 B x+4 A b^2 x^3-5 a b B x^3+2 b^2 B x^5}{8 b^3 \sqrt {a+b x^2}}-\frac {3 a (-4 A b+5 a B) \log \left (-\sqrt {b} x+\sqrt {a+b x^2}\right )}{8 b^{7/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.10, size = 150, normalized size = 1.26
method | result | size |
risch | \(\frac {x \left (2 b B \,x^{2}+4 A b -7 B a \right ) \sqrt {b \,x^{2}+a}}{8 b^{3}}+\frac {a x A}{b^{2} \sqrt {b \,x^{2}+a}}-\frac {a^{2} x B}{b^{3} \sqrt {b \,x^{2}+a}}-\frac {3 a \ln \left (x \sqrt {b}+\sqrt {b \,x^{2}+a}\right ) A}{2 b^{\frac {5}{2}}}+\frac {15 a^{2} \ln \left (x \sqrt {b}+\sqrt {b \,x^{2}+a}\right ) B}{8 b^{\frac {7}{2}}}\) | \(116\) |
default | \(B \left (\frac {x^{5}}{4 b \sqrt {b \,x^{2}+a}}-\frac {5 a \left (\frac {x^{3}}{2 b \sqrt {b \,x^{2}+a}}-\frac {3 a \left (-\frac {x}{b \sqrt {b \,x^{2}+a}}+\frac {\ln \left (x \sqrt {b}+\sqrt {b \,x^{2}+a}\right )}{b^{\frac {3}{2}}}\right )}{2 b}\right )}{4 b}\right )+A \left (\frac {x^{3}}{2 b \sqrt {b \,x^{2}+a}}-\frac {3 a \left (-\frac {x}{b \sqrt {b \,x^{2}+a}}+\frac {\ln \left (x \sqrt {b}+\sqrt {b \,x^{2}+a}\right )}{b^{\frac {3}{2}}}\right )}{2 b}\right )\) | \(150\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.31, size = 126, normalized size = 1.06 \begin {gather*} \frac {B x^{5}}{4 \, \sqrt {b x^{2} + a} b} - \frac {5 \, B a x^{3}}{8 \, \sqrt {b x^{2} + a} b^{2}} + \frac {A x^{3}}{2 \, \sqrt {b x^{2} + a} b} - \frac {15 \, B a^{2} x}{8 \, \sqrt {b x^{2} + a} b^{3}} + \frac {3 \, A a x}{2 \, \sqrt {b x^{2} + a} b^{2}} + \frac {15 \, B a^{2} \operatorname {arsinh}\left (\frac {b x}{\sqrt {a b}}\right )}{8 \, b^{\frac {7}{2}}} - \frac {3 \, A a \operatorname {arsinh}\left (\frac {b x}{\sqrt {a b}}\right )}{2 \, b^{\frac {5}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.55, size = 274, normalized size = 2.30 \begin {gather*} \left [-\frac {3 \, {\left (5 \, B a^{3} - 4 \, A a^{2} b + {\left (5 \, B a^{2} b - 4 \, A a b^{2}\right )} x^{2}\right )} \sqrt {b} \log \left (-2 \, b x^{2} + 2 \, \sqrt {b x^{2} + a} \sqrt {b} x - a\right ) - 2 \, {\left (2 \, B b^{3} x^{5} - {\left (5 \, B a b^{2} - 4 \, A b^{3}\right )} x^{3} - 3 \, {\left (5 \, B a^{2} b - 4 \, A a b^{2}\right )} x\right )} \sqrt {b x^{2} + a}}{16 \, {\left (b^{5} x^{2} + a b^{4}\right )}}, -\frac {3 \, {\left (5 \, B a^{3} - 4 \, A a^{2} b + {\left (5 \, B a^{2} b - 4 \, A a b^{2}\right )} x^{2}\right )} \sqrt {-b} \arctan \left (\frac {\sqrt {-b} x}{\sqrt {b x^{2} + a}}\right ) - {\left (2 \, B b^{3} x^{5} - {\left (5 \, B a b^{2} - 4 \, A b^{3}\right )} x^{3} - 3 \, {\left (5 \, B a^{2} b - 4 \, A a b^{2}\right )} x\right )} \sqrt {b x^{2} + a}}{8 \, {\left (b^{5} x^{2} + a b^{4}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 7.34, size = 177, normalized size = 1.49 \begin {gather*} A \left (\frac {3 \sqrt {a} x}{2 b^{2} \sqrt {1 + \frac {b x^{2}}{a}}} - \frac {3 a \operatorname {asinh}{\left (\frac {\sqrt {b} x}{\sqrt {a}} \right )}}{2 b^{\frac {5}{2}}} + \frac {x^{3}}{2 \sqrt {a} b \sqrt {1 + \frac {b x^{2}}{a}}}\right ) + B \left (- \frac {15 a^{\frac {3}{2}} x}{8 b^{3} \sqrt {1 + \frac {b x^{2}}{a}}} - \frac {5 \sqrt {a} x^{3}}{8 b^{2} \sqrt {1 + \frac {b x^{2}}{a}}} + \frac {15 a^{2} \operatorname {asinh}{\left (\frac {\sqrt {b} x}{\sqrt {a}} \right )}}{8 b^{\frac {7}{2}}} + \frac {x^{5}}{4 \sqrt {a} b \sqrt {1 + \frac {b x^{2}}{a}}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.26, size = 104, normalized size = 0.87 \begin {gather*} \frac {{\left ({\left (\frac {2 \, B x^{2}}{b} - \frac {5 \, B a b^{3} - 4 \, A b^{4}}{b^{5}}\right )} x^{2} - \frac {3 \, {\left (5 \, B a^{2} b^{2} - 4 \, A a b^{3}\right )}}{b^{5}}\right )} x}{8 \, \sqrt {b x^{2} + a}} - \frac {3 \, {\left (5 \, B a^{2} - 4 \, A a b\right )} \log \left ({\left | -\sqrt {b} x + \sqrt {b x^{2} + a} \right |}\right )}{8 \, b^{\frac {7}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^4\,\left (B\,x^2+A\right )}{{\left (b\,x^2+a\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________